﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using RoadTeam.Model;
using RoadTeam.Enums;
using RoadTeam.SysInterface;
namespace RoadTeam.BsSystem.CS.HomeInspection
{
    public class TbCsValidateRoomPic_Sys : ICsValidateRoomPic
    {

        public DataTable GetEmptyTable()
        {
            SqlWhere where = new SqlWhere();
            where.Info = new TbCsValidateRoomPic() { RoomPicID = -1 };
            where.SelectColumn = @" [BusninessID],[ImagePath],[ImageName],[App_Identifier] ";
            return TbCsValidateRoomPic.Select(where, GlobalConfig.RtConnectionString);
        }
     
        public bool Insert(DataTable dt)
        {
             return   TbCsValidateRoomPic.InsertDatatable(dt, GlobalConfig.RtConnectionString);
        }



    }
}
